package net.csdn.business.kanban.common.domain.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import net.csdn.business.kanban.common.domain.PageQueryParamDTO;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @ClassName kanbanQuery
 * @Description TODO
 * @Author liuzhisheng
 * @Date 2023/9/14
 **/
@Data
public class KanbanAddParam {
    @NotNull
    @Schema(name="org_id",description = "组织ID")
    private String orgId;

    @NotBlank
    @Schema(name="kanban_name",description = "看板名称")
    private String kanbanName;

    @NotNull
    @Schema(name="kanban_type",description = "看板类型：1:table 2:board 3:roadmap")
    private Integer kanbanType;

    @Schema(name="description",description = "描述")
    private String description;

//    @NotNull
//    @Schema(name="is_public",description = "可见性：false:public true:private")
//    private Boolean isPublic;

    @NotBlank(message = "currUserId不能为空")
    @Schema(name="currUserId",description = "当前用户ID")
    private String currUserId;
}
